package com.shiwenping.reply.net.domain;

import io.realm.RealmObject;

/**
 * @author shiwenping
 * @date 17-11-8 下午4:51
 */

public class BaseHttpResult<T>{
    private boolean success;
    private String msg;
    private int rcode;
    private T data;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getRcode() {
        return rcode;
    }

    public void setRcode(int rcode) {
        this.rcode = rcode;
    }
}
